<div id="header">
    <div class="headerBox">
        <ul class="headerBox_left">
            <li class="activate_font"><a href="{:url('index/index')}" class="activate_font">书瞳</a></li>
            {if condition="$Think.session.email eq ''"}
            <li><a href="{:url('login/login')}">登录</a></li>
            {else}
            <li><a href="{:url('login/logOut')}">退出</a></li>
            {/if}
            <li><a href="{:url('register/register')}">注册</a></li>
            <li></li>
            <li></li>
            <li>{$Think.session.email}欢迎光临书瞳</li>
        </ul>

        <ul class="headerBox_right">
            <li><a href="{:url('star/star')}"><i class="fa fa-star activate_font"></i>&nbsp;&nbsp;收藏</a></li>
            <li><a href="{:url('cart/cart')}"><i class="fa fa-cart-plus activate_font"></i>&nbsp;&nbsp;购物车</a></li>
            <li class="my">
                <div>我的&nbsp;&nbsp;<i class="fa fa-caret-left activate_font"></i></div>
                <ul class="mylist">
                    <li><a href="{:url('order/order')}">订单</a></li>
                    <li><a href="{:url('consignee/consignee')}">收货地址</a></li>
                    {if condition="$Think.session.email neq ''"}
                    <li><a href="#" class="changePwd">修改密码</a></li>
                    {/if}
                </ul>

            </li>
        </ul>
        <!-- 修改密码隐藏框 -->
        <!-- 编辑弹出框 -->
        <div class="outsideLayer" style="display: none;"></div>
        <div id="pwd" class="popBox" style="display: none;">
            <div class="popTitle">
                <span>修改密码</span>
                <span><a href="#" class="dropPop">×</a></span>
            </div>
            
            <form action="{:url('changepwd/changepwd')}" method="post" n="f" 
					onsubmit="return checkForm()">
            <div class="popContent">
                <div class="popItem">
                    <span>新密码</span>
                    <div>
                        <input type="password" name="passw1"/>
                    </div>
                </div>
                <div class="popItem">
                    <span>确认密码</span>
                    <div>
                        <input type="password" name="passw2">
                    </div>
                </div>

            </div>
            <div class="popBtn">
                <!-- 修改密码在header.js文件 -->
                <button class="ok" id="pwdok" type="submit">确认修改</button>
                <button class="cancel dropPop" type="reset">取消</button>
            </div>
            </form>
        </div>
    </div>
</div>